import axios from 'src/util/axios'
// 缴费管理查询已缴费
const getPayedLists = params => axios('post', '/school-order/get-payment-list', params)

// 数据统计
const getCountInfo = params => axios('post', '/school-order/count-payment-info', params)

// 学年度，级别，班级，缴费项目联动查询
const getCondition = params => axios('post', '/school-order/get-payment-condition', params)

// 缴费详情信息
const getDetailInfo = params => axios('post', '/school-order/get-payment-info', params)

// 未缴费信息列表
const getUnpayLists = params => axios('post', '/school-order/get-un-payment-list', params)

// 未缴费数据统计
const getUnpayData = params => axios('post', '/school-order/count-un-payment-info', params)

// 缴费渠道
const getPaymentAccount = params => axios('get', '/school-payment-sku/find-payment-account', params)

// 获取缴费项目列表
const getPayMent = params => axios('get', '/school-payment-sku/find-all-by-class', params)

// 获取缴费项目类型
const getpaymentSku = params => axios('get', '/school-payment-sku-type/find-all', params)

export {
  getPayedLists,
  getCountInfo,
  getCondition,
  getDetailInfo,
  getUnpayLists,
  getUnpayData,
  getPaymentAccount,
  getPayMent,
  getpaymentSku
}
